package com.itheima.dao;
/*
* 判断调用者输入的数字是奇数还是偶数
* */
public class Method2 {
    public static void main(String[] args) {
        isEvenNum(10);
    }
    public static void isEvenNum(int num){
        if (num==0){
            System.out.println("偶数");
        }else {
            System.out.println("奇数");
            return;
        }
    }
}
